package com.start.manager.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.start.manager.domain.entity.Detail;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author Lijian
 * @since 2019-12-20
 */
public interface DetailDao extends BaseMapper<Detail> {

    List<Map<String, Object>> getHomeData(@Param("currentWeeksDay") String currentWeeksDay);

    Double getCurrentMonth(@Param("type") String type, @Param("firstDay") String firstDay, @Param("endDay") String endDay);

    Double fingBill(@Param("type") String type, @Param("startDate") String startDate, @Param("endDate") String endDate);
}
